home *** CD-ROM | disk | FTP | other *** search
/ Aminet 45 / Aminet 45 (2001)(GTI - Schatztruhe)[!][Oct 2001].iso / Aminet / gfx / x11 / x3270_3_2_16.lha / amiga_src / ansic.h < prev    next >
C/C++ Source or Header  |  2007-03-01  |  1KB  |  43 lines

  1. /*
  2.  * Copyright 1995, 1999 by Paul Mattes.
  3.  *  Permission to use, copy, modify, and distribute this software and its
  4.  *  documentation for any purpose and without fee is hereby granted,
  5.  *  provided that the above copyright notice appear in all copies and that
  6.  *  both that copyright notice and this permission notice appear in
  7.  *  supporting documentation.
  8.  */
  9.  
  10. /*
  11.  *    ansic.h
  12.  *        Global declarations for ansi.c.
  13.  */
  14.  
  15. #if defined(X3270_ANSI) /*[*/
  16.  
  17. extern void ansi_init(void);
  18. extern void ansi_process(unsigned int c);
  19. extern void ansi_send_clear(void);
  20. extern void ansi_send_down(void);
  21. extern void ansi_send_home(void);
  22. extern void ansi_send_left(void);
  23. extern void ansi_send_pa(int nn);
  24. extern void ansi_send_pf(int nn);
  25. extern void ansi_send_right(void);
  26. extern void ansi_send_up(void);
  27. extern void toggle_lineWrap(struct toggle *t, enum toggle_type type);
  28.  
  29. #else /*][*/
  30.  
  31. #define ansi_init()
  32. #define ansi_process(n)
  33. #define ansi_send_clear()
  34. #define ansi_send_down()
  35. #define ansi_send_home()
  36. #define ansi_send_left()
  37. #define ansi_send_pa(n)
  38. #define ansi_send_pf(n)
  39. #define ansi_send_right()
  40. #define ansi_send_up()
  41.  
  42. #endif /*]*/
  43.